package com.naodong.shenluntiku.mvp.view.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.naodong.shenluntiku.R;
import com.naodong.shenluntiku.mvp.model.bean.IdAndCon;

import java.util.List;

/**
 * Created by Administrator on 2017/5/25.
 */

public class IdAndConAdapter extends BaseQuickAdapter<IdAndCon,BaseViewHolder> {
    public IdAndConAdapter(@Nullable List<IdAndCon> data) {
        super(R.layout.item_idandcon,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, IdAndCon item) {
        helper.setText(R.id.tv,item.getCon());
    }
}
